home *** CD-ROM | disk | FTP | other *** search
- --------------------------------------------
- - 320x200x256c IMAGE DISPLAYER -
- --------------------------------------------
- Okay this should be very straight forward for someone with a little
- knowledge of Pascal. This should be bloody easy to follow so ill only briefly
- explain things. I used Turbo Pascal 7.0 so if your still using 6.0 you may need to
- make some minor alterations(but i doubt it). Once you have read through the
- source code everything should be self explanitory. I hope this is useful for
- people starting out in displaying graphics, i remember trying to learn to
- display crap and found that most of the source code on boards was either
- ancient or useless. Use it as a starting point for demos or whatever use you
- have for it. Thanks to Fred Nietzche for the VGA intro making Pak he released
- yonks ago which i used to learn from. Oh..the Art included was just a demo
- image and i know it looks shit.
-
- 1. Capture the image you wish to use using the CAPTURE provided.
- You should then have the output files IMAGE.DAT & IMAGE.PAL.
-
- 2. Next you must make these files OBJECT files so as to link them into the one
- file when compiled. To do this you are required to use BINOBJ provided with
- Turbo Pascal. All you do is type a command line like as follows :
-
- e.g. C:\> BINOBJ IMAGE.DAT LOGO.OBJ LOGO
- C:\> BINOBJ IMAGE.PAL LOGOPAL.OBJ LOGOPAL
-
- This should be straight forward so i wont explain it further.
-
- 3. Compile IMAGE.PAS and Bobs your Uncle.
-
- 4. [Optional] The result will be about 68k now you can shrink it by either
- using an EXE compression util such as PKLITE, DIET or which ever one takes
- your fancy, the result will be under 10k usually.
-
- Fuck i hate typing Documents.....
-
- If you wish to give comments Post Gator in the pascal message base on the
- Communications Barrier (Australia) i call there regulary.
-
- Gator
-